extends ../../layout/layout

block content
  .content-wrapper
    .search-condition
      form#form-search
        .form-inline
          .form-group
            label.marginR10 账号
              input.form-control.form-width200(name="account" placeholder="请输入账号名称进行搜索")
          .form-group
            label.marginR10 姓名
              input.form-control.form-width200(name="name" placeholder="请输入姓名进行搜索")
          .form-group
            label.marginR10 性别
              select.form-control.form-width100(name="gender")
          .form-group
            label.marginR10 电话
              input.form-control.form-width200(name="phone" placeholder="请输入电话进行搜索")

    .com-op.marginT10
      button.btn.btn-default.marginR10#btn-search(type="button")
        i.fa.fa-search
        span 搜索
      button.btn.btn-default.marginR10#btn-add(type="button")
        i.fa.fa-plus
        span 新增
      button.btn.btn-default.marginR10#btn-edit(type="button")
        //- i.fa.fa-?
        span 修改
      button.btn.btn-default.marginR10#btn-del(type="button")
        //- i.fa.fa-?
        span 删除
      //- button.btn.btn-default.marginR10#btn-multi(type="button")
      //-   //- i.fa.fa-?
      //-   span 批量赋权

    .content-body.marginT10#table-box
      table.table#table-user
      #pager-user

block vendor_css
  link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")
  link(rel='stylesheet', type="text/css", href="../../vendor/zTree/css/metroStyle/metroStyle.css")

block vendor_js
  script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.extend.js")
  script(src="../../vendor/zTree/js/jquery.ztree.all.min.js")
  script(src="../../js/lib/sha256.js")

block self_js
  script(src="../../js/module/base/user.js")

block layer
  .layer-box#layer-user
    .d-header 账号信息
    form.d-content#form-user
      .row.form-row.form-row-sm
        .col-xs-6
          .form-text 账号：
          .form-container
            input.form-control.form-width200(name="account" placeholder="请输入账号")
            input(type="hidden" name="kid")
      .row.form-row.form-row-sm
        .col-xs-6
          .form-text 姓名：
          .form-container
            input.form-control.form-width200(name="name" placeholder="请输入姓名")
        .col-xs-6
          .form-text 电话：
          .form-container
            input.form-control.form-width200(name="phone" placeholder="请输入联系电话")
      .row.form-row.form-row-sm
        .col-xs-6
          .form-text 性别：
          .form-container
            label
              input(type="radio", name="gender", value="1")
              | 男
            label
              input(type="radio", name="gender", value="2")
              | 女
        .col-xs-6
          .form-text 密码：
          .form-container
            input.form-control.form-width200(type="password" name="password" placeholder="请输入密码")

    .d-header 权责身份选择
    .d-content
      .role-list

    .d-header 管辖城市选择
    .d-content
      .city-list


